<template>
  <div>
    <div class="footer">
      <router-link class="nav-icon" to="/home">
        <div class="img">
          <i class="iconfont icon-dianying icon-size"></i>
        </div>
        <span class="nav-text">电影/影院</span>
      </router-link>
      <router-link class="nav-icon" to="/video">
        <div class="img">
          <i class="iconfont icon-shipin-tianchong icon-size"></i>
        </div>
        <span class="nav-text">视频</span>
      </router-link>
      <router-link class="nav-icon" to="/small">
        <div class="img">
          <i class="iconfont icon-shipin icon-size"></i>
        </div>
        <span class="nav-text">小视频</span>
      </router-link>
      <router-link class="nav-icon" to="/show">
        <div class="img"><i class="iconfont icon-yanchu icon-size"></i></div>
        <span class="nav-text">演出</span>
      </router-link>
      <router-link class="nav-icon" to="/my">
        <div class="img"><i class="iconfont icon-wode icon-size"></i></div>
        <span class="nav-text">我的</span>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "MyFooter",
  data() {
    return {
      routeArr: [],
      nowRoute: "",
    };
  },
};
</script>

<style scoped>
.footer {
  width: 10rem;
  height: 49px;
  position: fixed;
  bottom: 0;
  background-color: #fff;
}

.bottom-hide {
  height: 40px;
  width: 100%;
}

.nav-icon {
  width: 2rem;
  height: 48px;
  display: inline-block;
  text-align: center;
  color: #333;
}
.nav-icon .img {
  margin-top: 5px;
}
.nav-icon img {
  width: 25px;
  height: 25px;
  margin: 0px 25px;
}

.nav-con {
  width: 8.9867rem;
  height: 40px;
  margin: 0px 0.48rem;
  display: flex;
}
.icon-size {
  font-size: 22px;
  line-height: 25px;
}
</style>